﻿using MiniFox.Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dispatcher.Core.Models
{
    public class SendRequest
    {
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "接收人列表", ShortName = "接收人列表")]
        [Required(ErrorMessageResourceType = typeof(CommonMessages), ErrorMessageResourceName = "MSG_CommonRequired")]
        public string[] Receiver { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "内容模板", ShortName = "内容模板")]
        public string TemplateName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "标题", ShortName = "标题")]
        public string Title { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "发送数据")]
        public object Data { get; set; }
    }
}
